package cn.net.yto.school.service;

import cn.net.yto.base.dao.pagination.PaginationRequest;
import cn.net.yto.base.dao.pagination.PaginationResponse;
import cn.net.yto.school.dao.entities.TbCourse;
import cn.net.yto.school.dao.entities.TbFile;

import java.util.List;

public interface CourseService {

    PaginationResponse<TbCourse> findResultsByPagination(PaginationRequest paginationRequest);

    void deleteCourseById(Integer id);

    void saveCourse(TbCourse course);

    TbCourse findOne(Integer id);

    List<TbFile> findResultsByCourseId(Integer courseId);

    List<TbCourse> findAll();

}
